package fr.perso.ppo.springintegration.business;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import fr.perso.ppo.springintegration.domain.PaiementGDPA;

@Component("businessStep1Service")
public class BusinessStep1Service {

	private static Logger log = LoggerFactory.getLogger(BusinessStep1Service.class);

	public PaiementGDPA doSomething(PaiementGDPA paiement) throws Exception {
		// TODO CAS ERREUR
		log.warn("------Business STEP1 sur paiement (id:{})", paiement.getId());
		return paiement;
	}

}
